﻿using KingsSharp.Core.Data;
using System;

namespace CRM.Admin.Contracts.Dto.Sys
{
    public class UserInfoDto : IAddDto, IEditDto<Guid>
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public short Age { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdNumber { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public string Birthday { get; set; }

        /// <summary>
        /// 登录帐号
        /// </summary>
        public string LoginCode { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 签名
        /// </summary>
        public string Signature { get; set; }

        /// <summary>
        /// 座机
        /// </summary>
        public string Tel { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 头像路径
        /// </summary>
        public string PortraitURL { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 在线时常
        /// </summary>
        public int OnLineHours { get; set; }

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public string LastLoginDate { get; set; }

        /// <summary>
        /// 最后登录Ip
        /// </summary>
        public string LastLoginIp { get; set; }

        /// <summary>
        /// 最后登录所用浏览器
        /// </summary>
        public string Browser { get; set; }

        /// <summary>
        /// 角色主键
        /// </summary>
        public string RoleIds { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleNames { get; set; }
    }
}
